home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- # Subject: MH editor sh script
- # Date: Fri, 21 Aug 92 11:49:46 -0500
- # From: Tom McCain <tom@ecn.purdue.edu>
- #
- # I use the following (courtesy of Dave Curry) to toggle MH's
- # "editor" between 9600 and 1200 bauds. If I'm at 9600 baud MH uses
- # emacs if I'm at 1200 MH uses vi. I call it "mheditor". In my
- # .mh_profile I set:
- #
- # editor: mheditor
- #
- # ...BTW, the q101 is the 1200 baud (dialup) terminal.
-
- case "$TERM" in
- q101)
- editor=vi;;
- *)
- editor=emacs;;
- esac
-
- exec $editor $*
-